public class NumSign {
    private String strNum;
    private char sign;
    private NumSign(){
    }
    public NumSign(String strNum,char sign){
        this.strNum = strNum;
        this.sign =sign;
    }
    public String getStrNum(){
        return strNum;
    }
    public void setStrNum(String  strNum){
        this.strNum = strNum;
    }
    public char getSign(){
        return sign;
    }
    public void setSign(char sign){
        this.sign =sign;
    }
    public double getNum(){
        return  Double.parseDouble((strNum));
    }
    public void setNum(double num){
        this.strNum =String.valueOf(num);
    }
}
